package com.lcu.bos.web.action;

import com.lcu.bos.modle.Workordermanage;
import com.lcu.bos.service.IWorkordermanageService;
import com.lcu.bos.web.action.base.BaseAction;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.IOException;
import java.io.UnsupportedEncodingException;

public class WorkordermanageAction extends BaseAction<Workordermanage> {
    @Autowired
    private IWorkordermanageService workordermanageService;
    public String save() throws IOException {
        workordermanageService.save(getModel());
        responseJson("success");
        return null;
    }

    @Override
    public String delete() throws IOException {
        return null;
    }

    @Override
    public String update() throws UnsupportedEncodingException {
        return null;
    }

    @Override
    public String get() {
        return null;
    }

    @Override
    public String findAll() {
        return null;
    }
}
